package com.jet.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-02-25
 */
@Getter
@Setter
@TableName("m_clerk_resource")
@ApiModel(value = "ClerkResource对象", description = "")
public class ClerkResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String id;

    private String pid;

    private String title;

    private String name;

    private String path;

    private String component;

    private String permissions;

    private Integer requireAuth;

    private Integer type;

    private String icon;

    private Integer sort;

    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private String activePath;

    private String directoryId;
}
